/**
 * Copyright(C): CETC-32
 * @Description: 数据管理文件、视图数据库实体操作
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */
package com.cetc32.dh.mybatis;

import com.cetc32.dh.entity.FileToMenu;
import tk.mybatis.mapper.common.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @Title: FileToMenuMapper
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/21 11:19
 */
@Repository
public interface FileToMenuMapper extends Mapper<FileToMenu> {

    public List<FileToMenu> selectByFileId(Long fileId);

    public List<FileToMenu> selectByMenuId(Long menuId);

    public int insert(FileToMenu fileToMenu);
}